package cn.airfei.aircore.testcore;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.AutoConfigurationPackage;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.Transactional;
import springfox.documentation.oas.annotations.EnableOpenApi;


@SpringBootApplication(scanBasePackages = {"cn.airfei.aircore.testcore"})
@MapperScan( value = "cn.airfei.aircore.testcore.infrastructure.*")
@EnableOpenApi
@EnableAsync
@EnableEurekaClient
@EnableFeignClients
@Transactional
@AutoConfigurationPackage
public class TestCoreApplication {

    public static void main(String[] args) {
        SpringApplication.run(TestCoreApplication.class, args);
    }


}
